import request from "@/utils/request";

// 查询地图点位
export function mapFacInfoList() {
  return request({
    url: "/perimeter/mapFacInfo/mapFacInfoList",
    method: "get"
  });
}

// 获取周界的实时数据
export function newDataList(query) {
  return request({
    url: "/perimeter/gmData/newDataList",
    method: "get",
    params: query
  });
}

// 大屏 - 获取周界的实时数据（演习模式）
export function DataList2(query) {
  return request({
    url: "/perimeter/gmData/pracDataList",
    method: "get",
    params: query
  });
}

// 获取全部的站点
export function listAll() {
  return request({
    url: "/perimeter/stationInfo/listAll",
    method: "get"
  });
}
// gm管========================================
// 查看详情页面的列表gm
export function gmHistoryDataList(query) {
  return request({
    url: "/perimeter/gmData/gmHistoryDataList",
    method: "get",
    params: query
  });
}
// 查看详情页面分页gm
export function gmHistoryDataListPage(query) {
  return request({
    url: "/perimeter/gmData/gmHistoryDataListPage",
    method: "get",
    params: query
  });
}

// 查看详情页面的其他信息
export function gmHistoryDataInfo(query) {
  return request({
    url: "/perimeter/gmData/gmHistoryDataInfo",
    method: "get",
    params: query
  });
}

// 详情页面GM导出
export function gmExport(query) {
  return request({
    url: "/perimeter/gmData/export",
    method: "get",
    params: query
  });
}

// 谱仪============================================
export function grHistoryDataList(query) {
  return request({
    url: "/perimeter/grData/grHistoryDataList",
    method: "get",
    params: query
  });
}

// 高气压电离室=================================
export function hpicHistoryDataList(query) {
  return request({
    url: "/perimeter/hpicData/hpicHistoryDataList",
    method: "get",
    params: query
  });
}

export function hpicHistoryDataInfo(query) {
  return request({
    url: "/perimeter/hpicData/hpicHistoryDataInfo",
    method: "get",
    params: query
  });
}

export function hpicHistoryDataListPage(query) {
  return request({
    url: "/perimeter/hpicData/hpicHistoryDataListPage",
    method: "get",
    params: query
  });
}

export function hipcExport(query) {
  return request({
    url: "/perimeter/hpicData/export",
    method: "get",
    params: query
  });
}
export function exportZjPracTemplete() {
  return request({
    url: "/perimeter/gmData/exportTemplate",
    method: "get"
  });
}

//获取周界演习列表数据
export function pracDataListAll(querys) {
  return request({
    url: "/perimeter/gmData/pracDataListAll",
    method: "get",
    params: querys
  });
}

//获取周界演习实时数据
export function pracDataList(querys) {
  return request({
    url: "/perimeter/gmData/pracDataList",
    method: "get",
    params: querys
  });
}
